package com.is.add.model;


import javax.persistence.*;
import java.util.Date;

/**
 * old商品表
 */
@Entity
@Table(name = "oldgoods")
public class OldGoods{
    @Id
    @Column(name = "id")
    private Integer oldGoodsId;             //商品ID
    @Column(name = "shop")
    private Integer shopId;                 //场馆ID
    @Column(name = "goodsType")
    private Integer goodsTypeId;            //商品类型ID
    @Column(name = "name")
    private String name;                    //商品名称
    @Column(name = "date")
    private Date date;                      //场次日期
    @Column(name = "totalNum")
    private Integer totalNum;               //场次数量
    @Column(name = "status")
    private Integer status;                 //状态

    public Integer getOldGoodsId() {
        return oldGoodsId;
    }

    public void setOldGoodsId(Integer oldGoodsId) {
        this.oldGoodsId = oldGoodsId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(Integer goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
